<!DOCTYPE html>
<html lang="en">
  <head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">

      <script type="text/javascript" src="/test/js/jquery/jquery-2.2.4.js"></script>
      <script type="text/javascript">
          $(function () {
              $("#Course").click(function (e) {
//                  e.preventDefault();
                  var url = "/reservation/save";
                  var reservationName = $("#Name").val();
                  var reservationMobile = $("#Mobile").val();
                  var courseId = $("#CourseName").val();
                  alert(courseId);
                  $.post(url, {
                      reservationName: reservationName,
                      reservationMobile: reservationMobile,
                      courseId: courseId
                  }, function (result) {
                      if(result.status === 1){
                          alert("预约成功！");
                      }
                      else{
                          alert("预约失败！");
                      }
                      //alert(JSON.stringify(result));
                  })
              });
          })
      </script>

  <title>壹码当先 - 课程介绍</title>
  <link rel="stylesheet" type="text/css" href="/pages/css/coursealert.css">
  <link href="/pages/css/kefu.css" rel="stylesheet">
  <script type="text/javascript" src="/pages/js/jquery001.js"></script>
  <!-- Chosen CSS -->
  <link href="/pages/css/login-register.css" rel="stylesheet">
  <!-- Pretty Photo CSS -->
  <link href="/pages/css/prettyPhoto.css" rel="stylesheet">

  <!-- Chosen CSS -->
  <link href="/pages/css/chosen.min.css" rel="stylesheet">
  <!-- Custom Main StyleSheet CSS -->
  <link href="/pages/style.css" rel="stylesheet">
  <!-- Color CSS -->
  <link href="/pages/css/color.css" rel="stylesheet">
  <link href="/pages/css/color-2.css" rel="stylesheet">
  <!-- Responsive CSS -->
  <link href="/pages/css/responsive.css" rel="stylesheet">

  </head>

<body onload="IFrameResize()">

    <script type="text/javascript">
    function IFrameResize(){  
     //alert(this.document.body.scrollHeight); //弹出当前页面的高度  
     var obj = parent.document.getElementById("iframe1");  //取得父页面IFrame对象  
     //alert(obj.height); //弹出父页面中IFrame中设置的高度  
     obj.height = this.document.body.scrollHeight;  //调整父页面中IFrame的高度为此页面的高度       
    }  
    </script>

    <!--Sub Banner Wrap End -->
    <!--Breadcrumb Wrap End -->
    <div class="gt_breadcrumb_bg default_width">
      <div class="container">
        <div class="gt_breadcrumb_wrap default_width">
            <ul>
                <li><a href="/pages/index_data.html">首页</a></li>
                <li><a href="course.html">课程介绍</a></li>
            </ul>
        </div>
      </div>
    </div>
    <!--Breadcrumb Wrap End -->

    <!--Main Content Wrap Start-->
    <div class="gt_content_wrap">
      <!--Course Grid Wrap Start-->
      <section class="gt_courses_bg">
        <div class="container">
          <div class="row">
            <div class="col-md-4 col-sm-6 mb30">
              <div class="gt_courses_wrap default_width">
                <figure>
                  <img src="/pages/extra-images/courses-01.jpg" alt="">
                  <figcaption class="gt_course_img_des">
                    <div class="gt_course_des_holder">
                      <ul class="gt_rating_star">
                        <li>
                          <a href="#"><i class="fa fa-star"></i></a>
                          <a href="#"><i class="fa fa-star"></i></a>
                          <a href="#"><i class="fa fa-star"></i></a>
                          <a href="#"><i class="fa fa-star"></i></a>
                          <a href="#"><i class="fa fa-star"></i></a>
                        </li>
                      </ul>
                    </div>
                    <div class="gt_course_cat gt_bg_4">New</div>
                  </figcaption>
                </figure>
                <div class="gt_course_des default_width">
                  <span>最近开课 寒假班</span>
                  <h5><a href="#">SCRATCH初级班</a></h5>
                  <p>了解软件编程基本概念，感受编程的乐趣；认识和熟悉Scratch软件的基本功能和操作方法，进行趣味小程序的编写；了解编程基本技能包括：控制、变量等；培养逻辑思维能力和创新能力 </p>
                </div>
                <!-- <div class="gt_course_bottom default_width">
                  <h5>1400<span>/14课时</span></h5>
                  <a href="../appointment/appointment.html">预约报名</a>
                </div> -->
                <div class="box">
                  <div class="demo gt_course_bottom default_width">
                    <h5>1400<span>/14课时</span></h5>
                    <a href="javascript:;" class="bounceIn">预约报名</a>
                  </div>                   
                  <div id="dialogBg"></div>
                  <div id="dialog" class="animated">
                    <img class="dialogIco" width="50" height="50" src="images/ico.png" alt="" />
                    <div class="dialogTop">
                      <a href="javascript:;" class="claseDialogBtn">X</a>
                    </div>
                    <form action="" method="post" id="editForm">
                      <ul class="editInfos">
                        <li>预约成功后以接听老师电话为准</li>
                        <li><label><font color="#ff0000">*</font>联系方式<input id="Mobile" type="text" name="" required value="" class="ipt" /></label></li>
                        <li><label><font color="#ff0000">* </font>学生姓名<input id="Name" type="text" name="" required value="" class="ipt" /></label></li>
                        <!-- <li><label><font color="#ff0000">*</font>选择课程
                            <select id="CourseName" style="float: right; width: 73%;">
                                <option value ="0">Scratch试听课</option>
                                <option value ="1">Scratch初级班</option>
                                <option value ="2">Scratch中级班</option>
                                <option value ="3">Scratch高级班</option>
                                <option value ="4">Python语言班</option>
                            </select></label></li>
                        <li><input id="Course" type="submit" value="确认提交" class="submitBtn" /></li> -->
                      </ul>
                    </form>
                  </div>
                </div>
                <script type="text/javascript">
                  var w,h,className;
                  function getSrceenWH(){
                    w = $(window).width();
                    h = $(window).height();
                    $('#dialogBg').width(w).height(h);
                  }

                  window.onresize = function(){  
                    getSrceenWH();
                  }  
                  $(window).resize();  

                  $(function(){
                    getSrceenWH();
                    
                    //ÏÔÊ¾µ¯¿ò
                    $('.box a').click(function(){
                      className = $(this).attr('class');
                      $('#dialogBg').fadeIn(300);
                      $('#dialog').removeAttr('class').addClass('animated '+className+'').fadeIn();
                    });
                    
                    //¹Ø±Õµ¯´°
                    $('.claseDialogBtn').click(function(){
                      $('#dialogBg').fadeOut(300,function(){
                        $('#dialog').addClass('bounceOutUp').fadeOut();
                      });
                    });
                  });
                </script>
              </div>
            </div>
            <div class="col-md-4 col-sm-6 mb30">
              <div class="gt_courses_wrap default_width">
                <figure>
                  <img src="/pages/extra-images/courses-01.jpg" alt="">
                  <figcaption class="gt_course_img_des">
                    <div class="gt_course_des_holder">
                      <ul class="gt_rating_star">
                        <li>
                          <a href="#"><i class="fa fa-star"></i></a>
                          <a href="#"><i class="fa fa-star"></i></a>
                          <a href="#"><i class="fa fa-star"></i></a>
                          <a href="#"><i class="fa fa-star"></i></a>
                          <a href="#"><i class="fa fa-star"></i></a>
                        </li>
                      </ul>
                    </div>
                    <div class="gt_course_cat gt_bg_4">New</div>
                  </figcaption>
                </figure>
                <div class="gt_course_des default_width">
                  <span>最近开课 寒假班</span>
                  <h5><a href="#">SCRATCH中级班</a></h5>
                  <p>了解软件编程的核心技能包括：链表和函数等，设计多个编程模块，进行深度创造，并通过综合练习巩固Scratch编程能力；强化逻辑思维能力和实践创新能力 </p>
                </div>
                                <!-- <div class="gt_course_bottom default_width">
                  <h5>1400<span>/14课时</span></h5>
                  <a href="../appointment/appointment.html">预约报名</a>
                </div> -->
                <div class="box">
                  <div class="demo gt_course_bottom default_width">
                    <h5>1400<span>/14课时</span></h5>
                    <a href="javascript:;" class="bounceIn">预约报名</a>
                  </div>                   
                  <div id="dialogBg"></div>
                  <div id="dialog" class="animated">
                    <img class="dialogIco" width="50" height="50" src="images/ico.png" alt="" />
                    <div class="dialogTop">
                      <a href="javascript:;" class="claseDialogBtn">X</a>
                    </div>
                    <form action="" method="post" id="editForm2">
                      <ul class="editInfos">
                          <li><label><font color="#ff0000">*</font>联系方式<input id="Mobile" type="text" name="" required value="" class="ipt" /></label></li>
                          <li><label><font color="#ff0000">* </font>学生姓名<input id="Name" type="text" name="" required value="" class="ipt" /></label></li>
                          <li><label><font color="#ff0000">*</font>选择课程
                              <select id="CourseName" style="float: right; width: 73%;">
                                  <option value ="1">Scratch初级班</option>
                                  <option value ="2">Scratch中级班</option>
                                  <option value ="3">Scratch高级班</option>
                                  <option value ="4">Python语言班</option>
                              </select></label></li>
                          <li><input id="Course" type="submit" value="确认提交" class="submitBtn" /></li>
                      </ul>
                    </form>
                  </div>
                </div>
                <script type="text/javascript">
                  var w,h,className;
                  function getSrceenWH(){
                    w = $(window).width();
                    h = $(window).height();
                    $('#dialogBg').width(w).height(h);
                  }

                  window.onresize = function(){  
                    getSrceenWH();
                  }  
                  $(window).resize();  

                  $(function(){
                    getSrceenWH();
                    
                    //ÏÔÊ¾µ¯¿ò
                    $('.box a').click(function(){
                      className = $(this).attr('class');
                      $('#dialogBg').fadeIn(300);
                      $('#dialog').removeAttr('class').addClass('animated '+className+'').fadeIn();
                    });
                    
                    //¹Ø±Õµ¯´°
                    $('.claseDialogBtn').click(function(){
                      $('#dialogBg').fadeOut(300,function(){
                        $('#dialog').addClass('bounceOutUp').fadeOut();
                      });
                    });
                  });
                </script>
              </div>
            </div>
            <div class="col-md-4 col-sm-6 mb30">
              <div class="gt_courses_wrap default_width">
                <figure>
                  <img src="/pages/extra-images/courses-01.jpg" alt="">
                  <figcaption class="gt_course_img_des">
                    <div class="gt_course_des_holder">
                      <ul class="gt_rating_star">
                        <li>
                          <a href="#"><i class="fa fa-star"></i></a>
                          <a href="#"><i class="fa fa-star"></i></a>
                          <a href="#"><i class="fa fa-star"></i></a>
                          <a href="#"><i class="fa fa-star"></i></a>
                          <a href="#"><i class="fa fa-star"></i></a>
                        </li>
                      </ul>
                    </div>
                    <div class="gt_course_cat gt_bg_4">New</div>
                  </figcaption>
                </figure>
                <div class="gt_course_des default_width">
                  <span>最近开课 寒假班</span>
                  <h5><a href="#">SCRATCH高级班</a></h5>
                  <p>系统性学习并掌握软件编程的核心能力包括：变量、数据、判断、循环、数组、函数以及常用算法等；与高级编程的学习进行衔接；具备初级软件工程师核心技能和编程思想 </p>
                </div>
          <!-- <div class="gt_course_bottom default_width">
                  <h5>1400<span>/14课时</span></h5>
                  <a href="../appointment/appointment.html">预约报名</a>
                </div> -->
                <div class="box">
                  <div class="demo gt_course_bottom default_width">
                    <h5>1400<span>/14课时</span></h5>
                    <a href="javascript:;" class="bounceIn">预约报名</a>
                  </div>                   
                  <div id="dialogBg"></div>
                  <div id="dialog" class="animated">
                    <img class="dialogIco" width="50" height="50" src="images/ico.png" alt="" />
                    <div class="dialogTop">
                      <a href="javascript:;" class="claseDialogBtn">X</a>
                    </div>
                    <form action="" method="post" id="editForm3">
                      <ul class="editInfos">
                          <li><label><font color="#ff0000">*</font>联系方式<input id="Mobile" type="text" name="" required value="" class="ipt" /></label></li>
                          <li><label><font color="#ff0000">* </font>学生姓名<input id="Name" type="text" name="" required value="" class="ipt" /></label></li>
                          <li><label><font color="#ff0000">*</font>选择课程
                              <select id="CourseName" style="float: right; width: 73%;">
                                  <option value ="1">Scratch初级班</option>
                                  <option value ="2">Scratch中级班</option>
                                  <option value ="3">Scratch高级班</option>
                                  <option value ="4">Python语言班</option>
                              </select></label></li>
                          <li><input id="Course" type="submit" value="确认提交" class="submitBtn" /></li>
                      </ul>
                    </form>
                  </div>
                </div>
                <script type="text/javascript">
                  var w,h,className;
                  function getSrceenWH(){
                    w = $(window).width();
                    h = $(window).height();
                    $('#dialogBg').width(w).height(h);
                  }

                  window.onresize = function(){  
                    getSrceenWH();
                  }  
                  $(window).resize();  

                  $(function(){
                    getSrceenWH();
                    
                    //ÏÔÊ¾µ¯¿ò
                    $('.box a').click(function(){
                      className = $(this).attr('class');
                      // $('#dialogBg').fadeIn(300);
                      $('#dialog').removeAttr('class').addClass('animated '+className+'').fadeIn();
                    });
                    
                    //¹Ø±Õµ¯´°
                    $('.claseDialogBtn').click(function(){
                      $('#dialogBg').fadeOut(300,function(){
                        $('#dialog').addClass('bounceOutUp').fadeOut();
                      });
                    });
                  });
                </script>
              </div>
            </div>
          </div>
          <!--Pagination Wrap Start-->
          <div class="gt_pagination_outer_wrap">
              <ul>
                  <li><a href="#"><i class="fa fa-angle-double-left"></i></a></li>
                  <li class="active"><a href="#">1</a></li>
                  <li><a href="#">2</a></li>
                  <li><a href="#">3</a></li>
                  <li><a href="#"><i class="fa fa-angle-double-right"></i></a></li>
              </ul>
          </div>
          <!--Pagination Wrap End-->
        </div>
      </section>
      <!--Course Grid Wrap End-->
    </div>
    <!--Main Content Wrap End-->


  <!--Jquery Library-->
  <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
  <!--Bootstrap core JavaScript-->
  <script src="http://www.jq22.com/jquery/bootstrap-3.3.4.js"></script>
  <!--Chosen JavaScript-->
  <script src="/pages/js/chosen.jquery.min.js"></script>
  <!--Custom JavaScript-->
  <script src="/pages/js/custom.js"></script>

</body>
</html>
